package com.qst.dao;

import com.qst.beans.User;

import java.util.List;

public interface UserMapper {
    public User findById(Integer id);
    public List<User> findAll();
    public int addUser(User user);
    public int deleteById(Integer id);
    public int update(User user);

    User findByName(String username);

}
